<?php
declare (strict_types = 1);

namespace app\common\model;

use think\Model;

/**
 * @mixin Model
 */
class Caterory extends Model
{
    public static function getlist()
    {
        $list = self::where('moduel','job')->where('status',1)->field('id,name,super_id,icon')->select()->toArray();

        return $list;
    }

    public static function cateroryone()
    {
        $list = self::where('moduel','industry')->where('status',1)->where('super_id',0)->field('id,name')->select()->toArray();

        return $list;
    }
}
